/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.yandex.books;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author Brothers
 */
public class Tuple<V, L> {

    private List<String> list;
    private V value;

    public Tuple() {
        this.list = new LinkedList<String>();
        this.value = null;
        ;
    }

    public int size() {
        return this.list.size();
    }

    public void addValue(String v) {
        this.list.add(v);
        ;
    }

    public List<String> getList() {
        return this.list;
    }

    public V getValue() {
        return this.value;
    }
}
